let uu = document.querySelector("ul")
let uu1 = document.querySelector("#comment")
let u1 = window.location.search

fetch("http://chst.vip:1234/api/getmoneyctrlproduct" + u1)
    .then(body => body.json())
    .then(res => {
        let html = ""
        res.result.forEach(item => {
            html +=
                `
                <li>
                <div class="infoR">
                    <div class="title">
                        <h4>${item.productName}</h4>
                    </div>
                    <div class="other">
                        <span class="mall fl">${item.productFrom} | ${item.productTime}</span>
                        <i>${item.productTips}</i>
                    </div>
                    <div class="container">
                      <p>
                          ${item.productImg2}
                          ${item.productInfo}
	                      ${item.productInfo1}
                      </p>
                    </div>
                    <div class="bigimg">
                        ${item.productImg2}
                    </div>
                    <div class="city">
                       ${item.productCity}
                    </div>
                </div>
        </li>
                `
        });
        uu.innerHTML = html
    })


fetch("http://chst.vip:1234/api/getmoneyctrlproduct" + u1)
    .then(body => body.json())
    .then(res => {
        let html = ""
        res.result.forEach(item => {
            html +=
                `
                ${item.productComment}
                `
        })
        uu1.innerHTML = html
    })